let fs = require('fs');

// 生成目录
fs.mkdirSync('hik');

// 生成html
fs.writeFileSync('hik/index.html', fs.readFileSync('snippets/html.txt'));

// 生成css
fs.writeFileSync('hik/style.css', fs.readFileSync('snippets/css.txt'));

// 生成js
fs.writeFileSync('hik/app.js', fs.readFileSync('snippets/js.txt'));

console.log('done');
